Global Index
HTML5 JS API Index > SVG Tutorials & Specs

SVGAElement

Extends SVGElement. Implements SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable.

Properties
SVGAnimatedString
className
Corresponds to attribute ‘class’ on the given element.
SVGAnimatedBoolean
externalResourcesRequired
Corresponds to attribute ‘externalResourcesRequired’ on the given element. Note that the SVG DOM defines the attribute ‘externalResourcesRequired’ as being of type SVGAnimatedBoolean, whereas the SVG language definition says that ‘externalResourcesRequired’ is not animated.
SVGAnimatedString
href
Corresponds to attribute ‘xlink:href’ on the given element.
SVGStringList
requiredExtensions
Corresponds to attribute ‘requiredExtensions’ on the given element.
SVGStringList
requiredFeatures
Corresponds to attribute ‘requiredFeatures’ on the given element.
CSSStyleDeclaration
style
Corresponds to attribute ‘style’ on the given element. If the user agent does not support styling with CSS, then this attribute must always have the value of null.
SVGStringList
systemLanguage
Corresponds to attribute ‘systemLanguage’ on the given element.
SVGAnimatedString
target
Corresponds to attribute ‘target’ on the given ‘a’ element.
SVGAnimatedTransformList
transform
Corresponds to attribute ‘transform’ on the given element.
DOMString
xmllang
Corresponds to attribute ‘xml:lang’ on the given element. Exceptions on settingDOMException, code NO_MODIFICATION_ALLOWED_ERR Raised on an attempt to change the value of a read only attribute.
DOMString
xmlspace
Corresponds to attribute ‘xml:space’ on the given element. Exceptions on settingDOMException, code NO_MODIFICATION_ALLOWED_ERR Raised on an attempt to change the value of a read only attribute.
Operations
CSSValue
getPresentationAttribute(DOMString name)
Returns the base (i.e., static) value of a given presentation attribute as an object of type CSSValue. The returned object is live; changes to the objects represent immediate changes to the objects to which the CSSValue is attached. Note: The getPresentationAttribute method is deprecated, and may be dropped from future versions of the SVG specification.
boolean
hasExtension(DOMString extension)
Returns true if the user agent supports the given extension, specified by a URI. ParametersDOMString extension The name of the extension, expressed as a URI. Returns True or false, depending on whether the given extension is supported.